package com.maven.zh.service;

import java.util.List;

import com.maven.zh.bean.Permission;

public interface PermissionService {

	Permission queryById(Integer id);

	void insertPermission(Permission permission);

	void updatePermission(Permission permission);

	void deletePermission(Integer id);

	List<Integer> queryPermissionsByRoleId(Integer roleid);

	List<Permission> queryAll();

}
